#!/usr/bin/python
#!-*- coding:utf-8 -*-

import os.path

for file in [__file__, os.path.dirname(__file__), '/', './broken_link']:
    print 'File         :', file
    print 'Absolute     :', os.path.isabs(file)
    print 'Is File?     :', os.path.isfile(file)
    print 'Is Dir?      :', os.path.isdir(file)
    print 'Is Link?     :', os.path.islink(file)
    print 'Mountpoint:  :', os.path.ismount(file)
    print 'Exists       :', os.path.exists(file)
    print 'Link Exists  :', os.path.lexists(file)
    print
